package org.jmresler.sakila.email;

import jakarta.mail.MessagingException;
import org.jmresler.sakila.email.services.EmailService;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

@SpringBootTest
class EmailApplicationTest {

    @Autowired
    protected EmailService emailService;

    @Test
    void testContextLoads() throws MessagingException {
        emailService.sendMessageWithAttachment("");
    }
}